package com.moon.back.config;



import io.swagger.models.Contact;
import io.swagger.models.Info;
import io.swagger.models.Swagger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SwaggerConfig {
    @Bean
    public Swagger springShopOpenAPI() {
        return new Swagger()
                .info(new Info().title("冰轮网盘-基于hdfs的网盘系统")
                        .contact(new Contact())
                        .description("我的API文档")
                        .version("v1"));

    }
}